<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>内边距</title>
    <style>
        div{
        width:500px;
        height: 300px;
        background: yellow;
        text-align: justify;
        /* padding: 30px; */
        /* padding:20px 30px; */
        /* padding: 10px 20px 30px; */
        padding: 10px 20px 30px 40px;
        /* 
        内边距 
        1个值，4个方向一样
        2个值，上下，左右
        3个值，上 左右 下
        4个值，上 右 下 左
        */
       }
    </style>
       
           
      
</head>
<body>
    <div>
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Distinctio natus dignissimos voluptatem consectetur repellendus quae aliquid incidunt, a maxime ipsam eos, in unde laboriosam eligendi cum, quas asperiores quasi. Eum?
    </div>
</body>
</html>